package com.wing.purchase.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.purchase.model.entity.PurchaseSignForProduct;
import com.wing.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 采购签收 导出VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseSignForExportVO {

    /**
     * ID
     */
    private Long id;



    /**
     * 签收编号
     */
    @ExcelExport(value = "签收编号", sort = 1)
    private String signNo;

    /**
     * 出入库类型名称
     */
    @ExcelExport(value = "入库类型名称", sort = 2)
    private String inventoryTypeName;


    /**
     * 签收业务类型名称
     */
    @ExcelExport(value = "签收业务类型名称", sort = 3)
    private String signBusinessTypeName;


    /**
     * 采购单编号
     */
    @ExcelExport(value = "所属业务单号", sort = 4)
    private String sn;


    /**
     * 供应商编码
     */
    @ExcelExport(value = "主体编码", sort = 5)
    private String corporateCode;


    /**
     * 供应商
     */
    @ExcelExport(value = "主体名称", sort = 6)
    private String corporateName;


    /**
     * 供应商联系人
     */
    @ExcelExport(value = "联系人", sort = 7)
    private String businessContact;


    /**
     * 签收物料数量
     */
    @ExcelExport(value = "签收物料数", sort = 8)
    private Integer signSkuNum;


    /**
     * 金额
     */
    @ExcelExport(value = "金额", sort = 9)
    private BigDecimal totalAmount;


    /**
     * 运单编号
     */
    @ExcelExport(value = "运单编号", sort = 10)
    private String waybillNo;



    /**
     * 运输方式描述
     */
    @ExcelExport(value = "运输方式", sort = 11)
    private String transportModeDesc;


    /**
     * 状态描述
     */
    @ExcelExport(value = "状态", sort = 12)
    private String statusName;


    /**
     * 质检状态名称
     */
    @ExcelExport(value = "质检状态", sort = 13)
    private String checkStatusName;



    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelExport(value = "创建时间", sort = 14)
    private LocalDateTime createTime;




}
